git: only attempt ssh-agent authentication once
authorNelson Elhage <nelhage@nelhage.com>
Sat, 16 Jul 2016 22:33:58 +0000 (15:33 -0700)
committerNelson Elhage <nelhage@nelhage.com>
Sat, 16 Jul 2016 22:43:35 +0000 (15:43 -0700)
commitb379a5b0a5d0a129f52f1060e0800225c1b70f7f
tree21ca47bf39dff2ed7eab0ab7645b8807fedb4c8a
parentc981b0faa0a7e01948e25afc65a42a0fc914925b
git: only attempt ssh-agent authentication once

This prevents infinite looping if ssh-agent authentication fails.

closes #2845
src/cargo/sources/git/utils.rs